<form class="well form-search" method="post" action="{$gvar.l_global}register.php?option=register">
<legend>New Register <span style="font-size:14px">(Fields marked with * are required)</span></legend>
<fieldset>
<input type="hidden" name="type" value="user">
<table cellspacing="5">
<tr><td>Name:* <input name="name" value="{$obj->name}" type="text" required></td></tr>
<tr><td>Password:* <input name="password" type="password" required></td>
<td>Confirm Password:* <input name="password2" type="password" required></td></tr>
<tr><td>User:* <input name="user" value="{$obj->user}" type="text" required></td>
</tr>
<tr><td><input class="btn btn-primary" type="submit" value="Register"> <input class="btn" type="reset" value="Reset"></td></tr>
</table>
</fieldset>
</form>